<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/lib/cropper/cropper.css">
    <link rel="stylesheet" href="/assets/css/user/user_avatar.css">
</head>
<body>
    <div class="layui-card">
        <div class="layui-card-header">更改图片</div>
        <div class="layui-card-body">
            <div class="row1">
                <div class="prevent-l">
                    <img src="/assets/images/sample.jpg" alt="" id="image">
                </div>
                <div class="prevent-r">
                    <div class="pr-1">
                        <div class="prevent-100 prevent"></div>
                        <span>100×100</span>
                    </div>
                    <div class="pr-2">
                        <div class="prevent-50 prevent"></div>
                        <span>50×50</span>
                    </div>
                </div>
            </div>
            <div class="row2">
                <input type="file" style="display: none;" id="file"> 
                <button type="button" id="btnUpload" class="layui-btn">上传</button>
                <button type="button" id="btnConfirm" class="layui-btn layui-btn-danger">确定</button>
            </div>
        </div>
    </div>



    <script src="/assets/lib/jquery.js"></script>
    <script src="/assets/lib/layui/layui.all.js"></script>
    <script src="/assets/js/baseAPL.js"></script>
    <script src="/assets/lib/cropper/Cropper.js"></script>
    <script src="/assets/lib/cropper/jquery-cropper.js"></script>
    <script src="/assets/js/user/user_avatar.js"></script>
</body>
</html>